home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / StackToolsƒ / Utilities / Pinpointer / background_2813.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-08-18  |  4.8 KB  |  77 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2813</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3143.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_2069.css" />
  11.     <part>
  12.         <id>3</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>56</left>
  23.             <top>107</top>
  24.             <right>448</right>
  25.             <bottom>273</bottom>
  26.         </rect>
  27.         <style>scrolling</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <true /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>About photocopy</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>5</id>
  45.         <type>button</type>
  46.         <visible> <true /> </visible>
  47.         <reserved5> 0 </reserved5>
  48.         <reserved4> 0 </reserved4>
  49.         <reserved3> 0 </reserved3>
  50.         <reserved2> 0 </reserved2>
  51.         <reserved1> 0 </reserved1>
  52.         <enabled> <true /> </enabled>
  53.         <rect>
  54.             <left>395</left>
  55.             <top>303</top>
  56.             <right>482</right>
  57.             <bottom>325</bottom>
  58.         </rect>
  59.         <style>roundrect</style>
  60.         <showName> <true /> </showName>
  61.         <highlight> <false /> </highlight>
  62.         <autoHighlight> <true /> </autoHighlight>
  63.         <sharedHighlight> <true /> </sharedHighlight>
  64.         <family>0</family>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Chicago</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <name>Pinpointer</name>
  72.         <script>on mouseUp
  73. put the number of card fields into theFields
  74. put the number of card buttons into theButtons
  75. put the lineSize into initialLineSize
  76. put the centered into initialCentered
  77. put the textAlign into initialTextAlign
  78. put the filled into initialFilled
  79. put the pattern into initialPattern
  80. put the textFont into initialTextFont
  81. put the textSize into initialTextSize
  82. put the editBkgnd into initialEditBkgnd
  83. set the lineSize to 1
  84. set the centered to false
  85. set the textAlign to center
  86. set the pattern to 1
  87. set the textFont to Monaco
  88. set the textSize to 9
  89. set the textStyle to plain
  90. set the editBkgnd to true
  91. repeat with thePass = 1 to 2
  92. if thePass = 1 then set the filled to true
  93. else set the filled to false
  94. if theFields is not 0 then
  95. repeat with thisField = 1 to theFields
  96. if the visible of card field thisField = true then
  97. choose rectangle tool
  98. get the rectangle of card field thisField
  99. put item one of it into topLeft
  100. put "," & item two of it after topLeft
  101. subtract 1 from item three of it
  102. subtract 1 from item four of it
  103. put item three of it into bottomRight
  104. put "," & item four of it after bottomRight
  105. drag from topLeft to bottomRight
  106. end if
  107. end repeat
  108. end if
  109. if theButtons is not 0 then
  110. repeat with thisButton = 1 to theButtons
  111. if the visible of card button thisButton = true then
  112. get the rectangle of card button thisButton
  113. put item one of it into topLeft
  114. put "," & item two of it after topLeft
  115. subtract 1 from item three of it
  116. subtract 1 from item four of it
  117. put item three of it into bottomRight
  118. put "," & item four of it after bottomRight
  119. if the style of card button thisButton = "roundRect" then
  120. choose round rect tool
  121. else choose rectangle tool
  122. drag from topLeft to bottomRight
  123. end if
  124. end repeat
  125. end if
  126. end repeat
  127. choose text tool
  128. repeat with object = 1 to (theFields + theButtons)
  129. if object ‚â§ theFields then
  130. if the visible of card field object is true then
  131. get the location of card field object
  132. add 3 to item two of it
  133. click at it
  134. type "Field #" & object
  135. end if
  136. else
  137. if the visible of card button (object - theFields) is true then
  138. put the location of card button (object - theFields) into center
  139. get the style of card button (object - theFields)
  140. if it is not "roundRect" and it is not "checkBox" ¬¨
  141. and it is not "radioButton" then
  142. subtract 5 from item 2 of center
  143. click at center
  144. type "Button" & return & "#" & (object - theFields)
  145. else
  146. add 3 to item two of center
  147. click at center
  148. type "Button #" & (object - theFields)
  149. end if
  150. end if
  151. end if
  152. end repeat
  153. set the editBkgnd to false
  154. choose browse tool
  155. set the editBkgnd to initialEditBkgnd
  156. set the lineSize to initialLineSize
  157. set the centered to initialCentered
  158. set the textAlign to initialTextAlign
  159. set the filled to initialFilled
  160. set the pattern to initialPattern
  161. set the textFont to initialTextFont
  162. set the textSize to initialTextSize
  163. end mouseUp
  164. </script>
  165.     </part>
  166.     <name></name>
  167.     <script></script>
  168. </background>
  169.